from app import db


class User(db.Model):
    __tablename__ = 't_user'
    user_pk = db.Column(db.String,primary_key=True)
    user_loginname = db.Column(db.String)
    user_name = db.Column(db.String)
    user_sex = db.Column(db.String)
    user_idcard = db.Column(db.String)
    user_phone = db.Column(db.String)
    user_birthday = db.Column(db.String)
    user_email = db.Column(db.String)
    user_intime = db.Column(db.String)


    def __repr__(self):
        return '<User %r>' % self.user_pk